package com.pandi.springbootinfluxdb.v02;

import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;

import java.io.Serializable;

/**
 * @author pandi
 * @create 2021-04-20 11:23
 */

@Data
@Measurement(name = "pandi")
public class Pandi implements Serializable {

    @Column(name = "id",tag = true)
    private String id;

    @Column(name = "name",tag = true)
    private String name;

    @Column(name = "age",tag = true)
    private int age;
}
